package com.nanc.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.nanc.dao.EmployeeDao;
import com.nanc.entities.Employee;
import com.nanc.service.EmployeeManageService;

@Service("employeeManageService")
public class EmployeeManageServiceImpl implements EmployeeManageService {

	@Autowired
	private EmployeeDao employeeDao;
	
	@Transactional(readOnly=true)
	public List<Employee> getAllEmployee() {
		return employeeDao.getAllEmployee();
	}

	@Override
	public boolean insertEmployee(Employee employee) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean updateEmployee(String lastName, Integer email, String genter) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean deleteEmployee(Integer id) {
		// TODO Auto-generated method stub
		return false;
	}

}
